import request from '@/utils/request'

export const findJobAPI = (catename, pageNum, pageSize) =>
  request.get(`api/index/job/getJobsByCategoryName/${pageNum}/${pageSize}`, {
    params: {
      categoryName: catename
    }
  })

export const findCategory = (parentId) =>
  request.get(`api/index/getCategory/${parentId}`)

export const findHotCompany = () =>
  request.get('api/index/enterprise/getHotEnterprise')
